home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / DEPOSITO / REmovido / Nave / Drakojan.swf / scripts / frame_14677 / PlaceObject2_1294_151 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2006-07-21  |  2KB  |  75 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.spaceship._currentframe == 1)
  3.    {
  4.       if(this.hitTest(_root.spaceship))
  5.       {
  6.          _root.spaceship.gotoAndPlay(1);
  7.          nextFrame();
  8.       }
  9.    }
  10.    if(_root.spaceship._currentframe == 25)
  11.    {
  12.       if(this.hitTest(_root.spaceship))
  13.       {
  14.          _root.spaceship.gotoAndPlay(25);
  15.          nextFrame();
  16.       }
  17.    }
  18.    if(_root.spaceship._currentframe == 50)
  19.    {
  20.       if(this.hitTest(_root.spaceship))
  21.       {
  22.          _root.spaceship.gotoAndPlay(50);
  23.          nextFrame();
  24.       }
  25.    }
  26.    if(_root.spaceship._currentframe == 75)
  27.    {
  28.       if(this.hitTest(_root.spaceship))
  29.       {
  30.          _root.spaceship.gotoAndPlay(75);
  31.          nextFrame();
  32.       }
  33.    }
  34.    if(_root.spaceship._currentframe == 100)
  35.    {
  36.       if(this.hitTest(_root.spaceship))
  37.       {
  38.          _root.spaceship.gotoAndPlay(100);
  39.          nextFrame();
  40.       }
  41.    }
  42.    if(_root.spaceship._currentframe == 125)
  43.    {
  44.       if(this.hitTest(_root.spaceship))
  45.       {
  46.          _root.spaceship.gotoAndPlay(125);
  47.          nextFrame();
  48.       }
  49.    }
  50.    if(_root.spaceship._currentframe == 149)
  51.    {
  52.       if(this.hitTest(_root.spaceship))
  53.       {
  54.          _root.spaceship.gotoAndPlay(149);
  55.          nextFrame();
  56.       }
  57.    }
  58.    if(_root.spaceship._currentframe == 173)
  59.    {
  60.       if(this.hitTest(_root.spaceship))
  61.       {
  62.          _root.spaceship.gotoAndPlay(173);
  63.          nextFrame();
  64.       }
  65.    }
  66.    if(_root.spaceship._currentframe == 197)
  67.    {
  68.       if(this.hitTest(_root.spaceship))
  69.       {
  70.          _root.spaceship.gotoAndPlay(197);
  71.          nextFrame();
  72.       }
  73.    }
  74. }
  75.